import { Context, Next } from "koa"

async function notFound(ctx: Context, next: Next) {
  await next()
  ctx.result({
    code: 404,
    message: "404 not found"
  })
}

export default notFound